package com.changfeng.dao;

import com.changfeng.bean.RetailersUser;
import org.apache.ibatis.annotations.Param;

public interface RetailersUserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(RetailersUser record);

    int insertSelective(RetailersUser record);

    RetailersUser selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(RetailersUser record);

    int updateByPrimaryKey(RetailersUser record);

    RetailersUser login(@Param("userName") String userName, @Param("userPassword") String userPassword);

    RetailersUser checkUserName(@Param("userName") String userName);
}